Automattic\Jetpack\Protect\Status S

Total Complexity 43
Dependencies 4
Dependents 2
Total lines 280
Lines of code 120
Logical lines of code 59
Comment lines 118
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
get_api_url()
S
57 7 15
get_vulnerabilities()
S
58 7 15
fetch_from_server()
S
54 5 20
get_status()
S
56 5 19
get_total_vulnerabilities()
S
74 3 4
should_use_cache()
S
77 3 3
get_cache_end_date_by_status()
S
69 3 6
is_cache_expired()
S
69 2 7
has_vulnerabilities()
S
79 1 3
get_all_vulnerabilities()
S
71 1 7
get_wordpress_vulnerabilities()
S
79 1 3
get_themes_vulnerabilities()
S
79 1 3
get_plugins_vulnerabilities()
S
79 1 3
get_from_options()
S
80 1 3
update_option()
S
72 1 5
delete_option()
S
77 1 4